<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>   
<!DOCTYPE html>
<html>
<base href="<c:url value='/'/>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>信息提示页面</title>
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" />
<script src="js/jquery-1.11.3.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<!-- 引入自定义css文件 style.css -->
<link rel="stylesheet" href="css/style.css" type="text/css" />

<style>
body {
	margin-top: 20px;
	margin: 0 auto;
}

.carousel-inner .item img {
	width: 100%;
	height: 300px;
}

font {
	color: #3164af;
	font-size: 18px;
	font-weight: normal;
	padding: 0 10px;
}
</style>
</head>
<body>

	<!-- 引入header.jsp -->
	<jsp:include page="/header.jsp"></jsp:include>

	<div style="text-align:center">
	
		<c:choose>
			<c:when test="${MSG_CODE==1001}">
				<h1 style="color:green">登录成功!<a href="index.jsp">点击返回首页</a></h1>
			</c:when>
			<c:when test="${MSG_CODE==1002}">
				<h1 style="color:orange">登录失败,账号或密码错误!<a href="login.jsp">点击返回登录页</a></h1>
			</c:when>
			<c:when test="${MSG_CODE==1003}">
				<h1 style="color:orange">登录失败，账号未激活!<a href="login.jsp">点击返回登录页</a></h1>
			</c:when>
		
			<c:when test="${MSG_CODE==2001}">
				<h1 style="color:green">注册成功，请前往邮件查收!</h1>
			</c:when>
			<c:when test="${MSG_CODE==2002}">
				<h1 style="color:green">激活成功!<a href="login.jsp">点击前往登录页</a></h1>
			</c:when>
			<c:when test="${MSG_CODE==2003}">s
				<h1 style="color:orange">注册失败，该用户已存在!<a href="login.jsp">点击前往登录页</a></h1>
			</c:when>
			<c:when test="${MSG_CODE==2004}">
				<h1 style="color:orange">激活失败，请重试!</h1>
			</c:when>
			<c:when test="${MSG_CODE==2099}">
				<h1 style="color:orange">注册失败，未知原因导致注册失败!<a href="javascript:void(0);" onclick="window.history.back()">请重试</a></h1>
			</c:when>
		</c:choose>
	</div>

	<!-- 引入footer.jsp -->
	<jsp:include page="/footer.jsp"></jsp:include>
</body>
</html>




